<include file="Public:header" />
<include file="public" />
<div class="no br" id="malls">
<div class="noting"></div>
<div class="nte">
		<span class="lc">{:L('_MALL')}</span>
        <span class="k" >&nbsp;</span>
   		<span class="dh">{:L('_PHONE')}</span>
   		<span class="cz">{:L('_OPERATING')}</span>
</div>
<ul>
	<foreach item="mall" name="malls">
		<li id="mall_{$mall.id}" class="top">
			<span class="lc">
				<a href="javascript:;" class="phone_list" mid="{$mall.id}">
					{$mall.name}
				</a>
			</span>
			<span class="dh">&nbsp;</span>
            <span class="k" >&nbsp;</span>
			<span class="cz">
			&nbsp;&nbsp;
			<if condition="$mall['isAuth']">
			<a href="javascript:;" class="show_add" mid="{$mall.id}">{:L('_ADD')}</a>
			</if>
			</span>
		</li>
		<foreach item="phone" name="mall.phones">
		<li id="phone_{$phone.id}">
        	<span class="k" id="name">&nbsp;</span>
			<span class="lc" id="name_{$phone.id}">{$phone.name|msubstr=0,7}</span>
			<span class="dh" id="phone_{$phone.id}">{$phone.phone|msubstr=0,15}</span>
			<span class="cz">
			<if condition="$mall['isAuth']">
			<a href="javascript:;" class="update_phone" pid="{$phone.id}">{:L('_UPDATE')}</a>
			<a href="javascript:;" class="delete_phone" pid="{$phone.id}">{:L('_DELETE')}</a>
			</if>
			</span>
		</li>
		</foreach>
	</foreach>
</ul>
</div>
<div class="no" id="floors" style="display: none;">
</div>
<div class="no" id="brands" style="display: none;">
</div>
<include file="Public:footer" />
<script type="text/javascript" >
$("#malls").phone();
</script>